﻿/*
    样式定义
*/
/*********************一般模式*****************************/
.audio-common {
    background: black;
    height: 50px;
       color: white;
       position:relative;
}
    /*标识按钮*/
    .audio-common .audio-switch {
        width: 30px;
        text-align: center;
     
        border: 0px solid blue;
        position: relative;
        float: left;
        height: inherit;
        text-align: center;
    }

    .audio-common .switch-bg {
        background: transparent;
        position: absolute;
        top: 0px;
        bottom: 0px;
        width: 100%;
        height: inherit;
        z-index: -1;
    }

    .audio-common .switch-text {
        font-size: 13px;
        width: 20px;
        display: inline-block;
        margin-top: 10px;
    }

    .audio-common .switch-icon {
        display: none;
        margin-top: 15px;
    }

    .audio-common .audio-cover {
        width: 50px;
        height: inherit;
        float: left;
        box-shadow: 0px 0px 3px rgba(255,0,0,0.8) inset;
        position: relative;
    }

.audio-cover img {
    width: 100%;
    height: 100%;
}

.audio-cover .bg-cover {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 1;
    /*background: red;*/
    box-shadow: rgba(0,0,0,0.8) 0px 0px 10px inset;
}

.audio-common .audio-info {
    width: 100px;
    float: left;
    padding: 5px 10px;
}

.audio-info .name {
    font-size: 13px;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    background: rgba(153,154,158,1);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.audio-info .singer {
    font-size: 12px;
    padding-top: 5px;
    padding-left: 5px;
}
/*按钮组*/
.audio-common .audio-btn-div {
    width: 130px;
    float: left;
    padding-top: 12px;
}

.audio-btn-div .iconaudio {
    font-size: 20px;
    padding: 5px 5px;
    cursor: pointer;
    transition: all linear 0.3s;
    -webkit-transition: all linear 0.3s;
}

    .audio-btn-div .iconaudio:hover {
        color: lightgreen;
    }

/*进度条*/
.audio-progress {
    height: inherit;
    border: 1px solid red;
    /*float: left;
    width: 330px;*/
    margin-left: 310px;
    margin-right: 100px;
}
/**音量**/
.audio-right {
    width: 90px;
    border: 0px solid blue;
    /*background: blue;*/
    position: absolute;
    right: 0px;
    top: 0px;
    height: inherit;
}

    .audio-right .iconaudio {
        padding: 5px;
        cursor: pointer;
        font-size: 15px;
    }

        .audio-right .iconaudio:hover {
            color: lightgreen;
        }

.audio-volume {
    width: 30px;
    float: left;
    margin-top: 12px;
}

.audio-menu {
    width: 30px;
    margin-top: 15px;
    float: left;
}

.audio-fold {
    width: 30px;
    float: left;
    text-align: center;
    cursor: pointer;
    height: inherit;
    background: linear-gradient(to right,rgba(0,0,0,0),rgba(0,0,0,0.8));
    line-height: 45px;
}

.audio-clear {
    clear: both;
}


/*********************简单模式*****************************/
@keyframes scorll {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.audio-simple {
    position: absolute;
    width: 30px;
    height: 30px;
    transform-origin: center;
    color: gray;
    cursor: pointer;
    animation: scorll linear 2s infinite forwards;
    animation-play-state: paused;
}

.audio-simple-play {
    color: lawngreen;
    animation-play-state: running;
}

.audio-simple .iconaudio {
    font-size: 30px;
    display: inline-block;
}

    .audio-simple .iconaudio:active {
        transform: scale(1.2);
    }

    .audio-simple .iconaudio:hover {
        color: #71E203;
    }


/*************icon图标样式定义*********/

@font-face {font-family: "iconfont";
  src: url('iconfont.eot?t=1479637605637'); /* IE9*/
  src: url('iconfont.eot?t=1479637605637#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('iconfont.woff?t=1479637605637') format('woff'), /* chrome, firefox */
  url('iconfont.ttf?t=1479637605637') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
  url('iconfont.svg?t=1479637605637#iconfont') format('svg'); /* iOS 4.1- */
}

.iconaudio {
  font-family:"iconfont" !important;
  font-size:16px;
  font-style:normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
}

.icon-stop:before { content: "\e600"; }

.icon-play:before { content: "\e6ac"; }

.icon-list:before { content: "\e609"; }

.icon-pre:before { content: "\e674"; }

.icon-volume:before { content: "\e608"; }

.icon-jingyin:before { content: "\e621"; }

.icon-yinfu2:before { content: "\e77b"; }

.icon-yinfu:before { content: "\e612"; }

.icon-new-pre:before { content: "\e610"; }

.icon-jingyin1:before { content: "\e752"; }

.icon-predate-copy:before { content: "\e60a"; }

.icon-next:before { content: "\e601"; }

.icon-prev:before { content: "\e602"; }

.icon-musical-note:before { content: "\e606"; }

.icon-yinle:before { content: "\e640"; }


